//
//  Register_Confirm_ViewController.h
//  chilemat
//
//  Created by Cristian Gonzalez Figueroa on 20-05-14.
//  Copyright (c) 2014 Chilemat SpA. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <sqlite3.h>

@interface Register_Confirm_iPad_ViewController : UIViewController <UITableViewDelegate, UITableViewDataSource, UIPickerViewDelegate, UIPickerViewDataSource>{
    sqlite3 *bd;
}

//-------------------------------------------------------------------------
//Datos del carro de compra
@property (weak, nonatomic) IBOutlet UILabel *lblSubTotal;

@property (weak, nonatomic) IBOutlet UILabel *lblDespacho;

@property (weak, nonatomic) IBOutlet UILabel *lblTotal;
//-------------------------------------------------------------------------

@property (weak, nonatomic) IBOutlet UIBarButtonItem *backBarButtonItem;

@property (weak, nonatomic) IBOutlet UILabel *lblNombreCompleto;

@property (weak, nonatomic) IBOutlet UILabel *lblDireccion;

@property (weak, nonatomic) IBOutlet UILabel *lblComuna;

@property (weak, nonatomic) IBOutlet UILabel *lblCiudad;

@property (weak, nonatomic) IBOutlet UILabel *lblCelular;

@property (weak, nonatomic) IBOutlet UILabel *lblReferencia;

@property (weak, nonatomic) IBOutlet UILabel *lblFormaPago;


//-------------------------------------------------------------------------
@property (weak, nonatomic) IBOutlet UIView *viewPicker;

@property (strong, nonatomic) IBOutlet UIPickerView *pickerView;

@property (nonatomic, strong) NSMutableArray *dataArray;

@property (nonatomic, strong) NSMutableArray *dataArrayId;

@property (nonatomic, strong) NSMutableArray *json;

@property (weak, nonatomic) IBOutlet UIButton *showPickerFechaEntrega;

@property (weak, nonatomic) IBOutlet UILabel *strFechaEntrega;

@property (weak, nonatomic) IBOutlet UIButton *closePickerFechaEntrega;


- (IBAction)showPickerFechaEntrega:(id)sender;

- (IBAction)closePickerFechaDespacho:(id)sender;

//-------------------------------------------------------------------------



- (IBAction)backToRegister:(id)sender;

- (IBAction)backToRegisterPageMethod:(id)sender;

@property (weak, nonatomic) IBOutlet UITableView *tableViewSearch;

@property (nonatomic, strong) NSMutableArray *dataArraySearch;


@end
